package io.gitee.wiqer.example.swagger;


import io.gitee.wiqer.common.swagger.annotation.EnableCustomSwagger2;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 *
 * @author guardian
 *
 */
@EnableCustomSwagger2
@SpringBootConfiguration
@SpringBootApplication
public class SwaggerApplication {
	private static Logger  log = LoggerFactory.getLogger(SwaggerApplication.class);

	//swagger-resources//springfox.documentation.swagger2.web.Swagger2Controller
	//初始化系统属性
	static {
		String fsPath=System.getProperty("user.dir");
		log.info("local path :{}",fsPath);
	}
	public static void main(String[] args) {
		SpringApplication.run(SwaggerApplication.class, args);
	}

}
